0 Prolog
↳1 PrologToPrologProblemTransformerProof (⇒, 89 ms)
↳2 Prolog
↳3 PrologToPiTRSProof (⇒, 0 ms)
↳4 PiTRS
↳5 DependencyPairsProof (⇔, 0 ms)
↳6 PiDP
↳7 DependencyGraphProof (⇔, 0 ms)
↳8 PiDP
↳9 UsableRulesProof (⇔, 0 ms)
↳10 PiDP
↳11 PiDPToQDPProof (⇒, 6 ms)
↳12 QDP
↳13 QDPSizeChangeProof (⇔, 0 ms)
↳14 YES
selectA_in_aag(T6, .(T6, T7), T7) → selectA_out_aag(T6, .(T6, T7), T7)
selectA_in_aag(T26, .(T13, .(T26, T27)), .(T13, T27)) → selectA_out_aag(T26, .(T13, .(T26, T27)), .(T13, T27))
selectA_in_aag(T40, .(T13, .(T37, T41)), .(T13, .(T37, T39))) → U1_aag(T40, T13, T37, T41, T39, selectA_in_aag(T40, T41, T39))
selectA_in_aag(T78, .(T51, .(T75, T79)), .(T51, .(T75, T77))) → U2_aag(T78, T51, T75, T79, T77, selectA_in_aag(T78, T79, T77))
U2_aag(T78, T51, T75, T79, T77, selectA_out_aag(T78, T79, T77)) → selectA_out_aag(T78, .(T51, .(T75, T79)), .(T51, .(T75, T77)))
U1_aag(T40, T13, T37, T41, T39, selectA_out_aag(T40, T41, T39)) → selectA_out_aag(T40, .(T13, .(T37, T41)), .(T13, .(T37, T39)))
Infinitary Constructor Rewriting Termination of PiTRS implies Termination of Prolog
selectA_in_aag(T6, .(T6, T7), T7) → selectA_out_aag(T6, .(T6, T7), T7)
selectA_in_aag(T26, .(T13, .(T26, T27)), .(T13, T27)) → selectA_out_aag(T26, .(T13, .(T26, T27)), .(T13, T27))
selectA_in_aag(T40, .(T13, .(T37, T41)), .(T13, .(T37, T39))) → U1_aag(T40, T13, T37, T41, T39, selectA_in_aag(T40, T41, T39))
selectA_in_aag(T78, .(T51, .(T75, T79)), .(T51, .(T75, T77))) → U2_aag(T78, T51, T75, T79, T77, selectA_in_aag(T78, T79, T77))
U2_aag(T78, T51, T75, T79, T77, selectA_out_aag(T78, T79, T77)) → selectA_out_aag(T78, .(T51, .(T75, T79)), .(T51, .(T75, T77)))
U1_aag(T40, T13, T37, T41, T39, selectA_out_aag(T40, T41, T39)) → selectA_out_aag(T40, .(T13, .(T37, T41)), .(T13, .(T37, T39)))
SELECTA_IN_AAG(T40, .(T13, .(T37, T41)), .(T13, .(T37, T39))) → U1_AAG(T40, T13, T37, T41, T39, selectA_in_aag(T40, T41, T39))
SELECTA_IN_AAG(T40, .(T13, .(T37, T41)), .(T13, .(T37, T39))) → SELECTA_IN_AAG(T40, T41, T39)
SELECTA_IN_AAG(T78, .(T51, .(T75, T79)), .(T51, .(T75, T77))) → U2_AAG(T78, T51, T75, T79, T77, selectA_in_aag(T78, T79, T77))
selectA_in_aag(T6, .(T6, T7), T7) → selectA_out_aag(T6, .(T6, T7), T7)
selectA_in_aag(T26, .(T13, .(T26, T27)), .(T13, T27)) → selectA_out_aag(T26, .(T13, .(T26, T27)), .(T13, T27))
selectA_in_aag(T40, .(T13, .(T37, T41)), .(T13, .(T37, T39))) → U1_aag(T40, T13, T37, T41, T39, selectA_in_aag(T40, T41, T39))
selectA_in_aag(T78, .(T51, .(T75, T79)), .(T51, .(T75, T77))) → U2_aag(T78, T51, T75, T79, T77, selectA_in_aag(T78, T79, T77))
U2_aag(T78, T51, T75, T79, T77, selectA_out_aag(T78, T79, T77)) → selectA_out_aag(T78, .(T51, .(T75, T79)), .(T51, .(T75, T77)))
U1_aag(T40, T13, T37, T41, T39, selectA_out_aag(T40, T41, T39)) → selectA_out_aag(T40, .(T13, .(T37, T41)), .(T13, .(T37, T39)))
SELECTA_IN_AAG(T40, .(T13, .(T37, T41)), .(T13, .(T37, T39))) → U1_AAG(T40, T13, T37, T41, T39, selectA_in_aag(T40, T41, T39))
SELECTA_IN_AAG(T40, .(T13, .(T37, T41)), .(T13, .(T37, T39))) → SELECTA_IN_AAG(T40, T41, T39)
SELECTA_IN_AAG(T78, .(T51, .(T75, T79)), .(T51, .(T75, T77))) → U2_AAG(T78, T51, T75, T79, T77, selectA_in_aag(T78, T79, T77))
selectA_in_aag(T6, .(T6, T7), T7) → selectA_out_aag(T6, .(T6, T7), T7)
selectA_in_aag(T26, .(T13, .(T26, T27)), .(T13, T27)) → selectA_out_aag(T26, .(T13, .(T26, T27)), .(T13, T27))
selectA_in_aag(T40, .(T13, .(T37, T41)), .(T13, .(T37, T39))) → U1_aag(T40, T13, T37, T41, T39, selectA_in_aag(T40, T41, T39))
selectA_in_aag(T78, .(T51, .(T75, T79)), .(T51, .(T75, T77))) → U2_aag(T78, T51, T75, T79, T77, selectA_in_aag(T78, T79, T77))
U2_aag(T78, T51, T75, T79, T77, selectA_out_aag(T78, T79, T77)) → selectA_out_aag(T78, .(T51, .(T75, T79)), .(T51, .(T75, T77)))
U1_aag(T40, T13, T37, T41, T39, selectA_out_aag(T40, T41, T39)) → selectA_out_aag(T40, .(T13, .(T37, T41)), .(T13, .(T37, T39)))
SELECTA_IN_AAG(T40, .(T13, .(T37, T41)), .(T13, .(T37, T39))) → SELECTA_IN_AAG(T40, T41, T39)
selectA_in_aag(T6, .(T6, T7), T7) → selectA_out_aag(T6, .(T6, T7), T7)
selectA_in_aag(T26, .(T13, .(T26, T27)), .(T13, T27)) → selectA_out_aag(T26, .(T13, .(T26, T27)), .(T13, T27))
selectA_in_aag(T40, .(T13, .(T37, T41)), .(T13, .(T37, T39))) → U1_aag(T40, T13, T37, T41, T39, selectA_in_aag(T40, T41, T39))
selectA_in_aag(T78, .(T51, .(T75, T79)), .(T51, .(T75, T77))) → U2_aag(T78, T51, T75, T79, T77, selectA_in_aag(T78, T79, T77))
U2_aag(T78, T51, T75, T79, T77, selectA_out_aag(T78, T79, T77)) → selectA_out_aag(T78, .(T51, .(T75, T79)), .(T51, .(T75, T77)))
U1_aag(T40, T13, T37, T41, T39, selectA_out_aag(T40, T41, T39)) → selectA_out_aag(T40, .(T13, .(T37, T41)), .(T13, .(T37, T39)))
SELECTA_IN_AAG(T40, .(T13, .(T37, T41)), .(T13, .(T37, T39))) → SELECTA_IN_AAG(T40, T41, T39)
SELECTA_IN_AAG(.(.(T39))) → SELECTA_IN_AAG(T39)
From the DPs we obtained the following set of size-change graphs: